using B.S.BaseData.ErrorCode;
using MediatR;

namespace B.S.BaseData.Api.Write.Applicantion.Command.HospitalTwoCommand
{
    /// <summary>
    /// 轮播图更新命令
    /// </summary>
    public class CarouselImageUpdateCommand : IRequest<APIResult<int>>
    {
        /// <summary>
        /// 轮播图Id
        /// </summary>
        public long Id {  get; set; }
        /// <summary>
        /// 轮播图名称
        /// </summary>
        public string CarouselName { get; set; } = string.Empty;

        /// <summary>
        /// 图片路径
        /// </summary>
        public string ImagePath { get; set; } = string.Empty;

        /// <summary>
        /// 链接地址
        /// </summary>
        public string LinkAddress { get; set; } = string.Empty;

        /// <summary>
        /// 展示时间
        /// </summary>
        public DateTime DisplayTime { get; set; }

        /// <summary>
        /// 展示顺序
        /// </summary>
        public int DisplayOrder { get; set; }

        /// <summary>
        /// 状态（0-禁用，1-启用）
        /// </summary>
        public bool Status { get; set; }

        /// <summary>
        /// 备注内容
        /// </summary>
        public string Remarks { get; set; } = string.Empty;

        /// <summary>
        /// 上传人
        /// </summary>
        public string Uploader { get; set; } = string.Empty;

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName {  get; set; } = string.Empty;
    }
} 